sub msxgfx9kvdp(treg as ubyte, tvl as ubyte):
  out $64,treg
  out $63,tvl
  end sub
